package com.refactor.practice.xutao.model;

import com.refactor.practice.xutao.enums.MovieTypeEnum;

/**
 * @Author xutao
 * @Date 2024/9/14 14:48
 * @Description: 影片模型
 * @Version 1.0
 **/
public class Movie {

    /**
     * 影片编码
     */
    private String movieCode;

    /**
     * 影片类型
     */
    private MovieTypeEnum movieType;

    /**
     * 影片标题
     */
    private String movieTitle;

    /**
     * 租用时间
     */
    private int dayRented;

    /**
     * 消费金额
     */
    private double money;

    public String getMovieCode() {
        return movieCode;
    }

    public void setMovieCode(String movieCode) {
        this.movieCode = movieCode;
    }

    public MovieTypeEnum getMovieType() {
        return movieType;
    }

    public void setMovieType(MovieTypeEnum movieType) {
        this.movieType = movieType;
    }

    public String getMovieTitle() {
        return movieTitle;
    }

    public void setMovieTitle(String movieTitle) {
        this.movieTitle = movieTitle;
    }

    public int getDayRented() {
        return dayRented;
    }

    public void setDayRented(int dayRented) {
        this.dayRented = dayRented;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "Movie{" +
                "movieCode='" + movieCode + '\'' +
                ", movieType=" + movieType +
                ", movieTitle='" + movieTitle + '\'' +
                ", dayRented=" + dayRented +
                ", money=" + money +
                '}';
    }
}
